testthread:testthread.cc
	g++ -o $@ $^ -std=c++11 -lpthread
# 编译时也要带上lpthread，不然会报错
.PHONY:clean
clean:
	rm -rf testthread